package com.suixun.service;

import org.springframework.util.concurrent.ListenableFuture;

import com.suixun.controller.vo.SendMessForm;
import com.suixun.entity.form.SendMessageForm;
import com.suixun.entity.page.PageModel;
import com.suixun.vo.SendMessageVO;


public interface SendMessageService {

	PageModel<?> querySendMessageList(SendMessageForm sendMessage);
	
	int addSendMessage(SendMessageForm sendMessage);
	
	SendMessageVO querySendMessage(SendMessageForm sendMessage);
	
	int deleteSendMessage(SendMessageForm sendMessage);
	
	/**
	 * 发送消息的异步方法
	 * @return 
	 */
	ListenableFuture<Integer>  sendMessage(SendMessForm form);
}
